//////////////////////////////////////////////////////////////////////////
//
// This file is a part of UKROP project.
// Copyright (c) Vladimir Gumenuk, 2008-2014.
//
// PROJECT:         Xort compiler
// FILE:            AlertObject.h - native object support (example)
// AUTHOR:          Vladimir Gumenuk
// DATE:            4-Sep-2014
//
//////////////////////////////////////////////////////////////////////////

#pragma once

class CAlertObject : public XortNativeInterface
{
public:
    CAlertObject();
    virtual ~CAlertObject();

IMPLEMENT_XORT_UNKNOWN(AlertObject);

    // Invokes the object method by name
    virtual int Invoke( lpcstr lpszName, XNIVariantArray *pArgs, XNIVariant& vResultOut );

private:
    dword m_dwRefCount;
};

